package org.jetnuke.dao;

import java.util.Date;
import java.util.List;

import org.jetnuke.entities.LinksVoteData;

public interface LinkVoteDataDAO {
	public LinksVoteData retrieveByPK(int id) throws Exception ;
	public int addNew(LinksVoteData dc)throws Exception;
	public int countAnonymous(int lid, String hostName, Date dt)throws Exception;
	public List getByRatingLid(int lid)throws Exception;
	public List getByRatingUser(String user)throws Exception;
	public int countUser(int lid, String uname)throws Exception;
	public List selectWithComment(int lid)throws Exception;
}
